.class Lcom/netease/newsreader/activity/ShowComments$33;
.super Ljava/lang/Object;
.source "ShowComments.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/ShowComments;->setListeners()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ShowComments;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ShowComments;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    .line 1452
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 9
    .parameter "v"

    .prologue
    const v8, 0x7f020015

    const/4 v7, 0x1

    const/4 v6, 0x3

    .line 1455
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$106(Lcom/netease/newsreader/activity/ShowComments;)I

    move-result v1

    const/4 v2, -0x1

    if-eq v1, v2, :cond_0

    .line 1456
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$107(Lcom/netease/newsreader/activity/ShowComments;)Lcom/netease/newsreader/util/CollectUtil;

    move-result-object v1

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowComments;->access$106(Lcom/netease/newsreader/activity/ShowComments;)I

    move-result v2

    invoke-virtual {v1, v2, v6}, Lcom/netease/newsreader/util/CollectUtil;->deleteAlreadyCollect(II)I

    .line 1457
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-virtual {v2}, Lcom/netease/newsreader/activity/ShowComments;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0b0022

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 1459
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$88(Lcom/netease/newsreader/activity/ShowComments;)Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v1

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowComments;->access$108(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/ImageButton;

    move-result-object v3

    invoke-virtual {v1, v2, v3, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/content/Context;Landroid/widget/ImageView;I)V

    .line 1472
    :goto_0
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowComments;->access$107(Lcom/netease/newsreader/activity/ShowComments;)Lcom/netease/newsreader/util/CollectUtil;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowComments;->access$109(Lcom/netease/newsreader/activity/ShowComments;)Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v5}, Lcom/netease/newsreader/activity/ShowComments;->access$84(Lcom/netease/newsreader/activity/ShowComments;)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4, v6}, Lcom/netease/newsreader/util/CollectUtil;->getAlreadyCollect(Ljava/lang/String;Ljava/lang/String;I)I

    move-result v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/ShowComments;->access$111(Lcom/netease/newsreader/activity/ShowComments;I)V

    .line 1474
    return-void

    .line 1461
    :cond_0
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$107(Lcom/netease/newsreader/activity/ShowComments;)Lcom/netease/newsreader/util/CollectUtil;

    move-result-object v1

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowComments;->access$109(Lcom/netease/newsreader/activity/ShowComments;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowComments;->access$110(Lcom/netease/newsreader/activity/ShowComments;)Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v5}, Lcom/netease/newsreader/activity/ShowComments;->access$84(Lcom/netease/newsreader/activity/ShowComments;)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v2, v3, v4, v6}, Lcom/netease/newsreader/util/CollectUtil;->doCollectObject(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/Long;

    move-result-object v0

    .line 1462
    .local v0, flag:Ljava/lang/Long;
    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    const-wide/16 v3, -0x1

    cmp-long v1, v1, v3

    if-nez v1, :cond_1

    .line 1464
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$88(Lcom/netease/newsreader/activity/ShowComments;)Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v1

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowComments;->access$108(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/ImageButton;

    move-result-object v3

    invoke-virtual {v1, v2, v3, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/content/Context;Landroid/widget/ImageView;I)V

    .line 1465
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-virtual {v2}, Lcom/netease/newsreader/activity/ShowComments;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0b0024

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2, v7}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    .line 1468
    :cond_1
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$88(Lcom/netease/newsreader/activity/ShowComments;)Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v1

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowComments;->access$108(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/ImageButton;

    move-result-object v3

    const v4, 0x7f020018

    invoke-virtual {v1, v2, v3, v4}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/content/Context;Landroid/widget/ImageView;I)V

    .line 1469
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$33;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-virtual {v2}, Lcom/netease/newsreader/activity/ShowComments;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0b0023

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2, v7}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0
.end method
